package dao

import (
	"gitee.com/tietang/terrace-go/v2/base"
	"gitee.com/tietang/terrace-go/v2/lib/rpc"
)

type InitStarter struct {
	base.BaseStarter
}

func (s *InitStarter) Start(ctx base.StarterContext) {
	all := rpc.AllHandlers()
	for _, h := range all {
		x := h.(Handler)
		x.Init()
	}
}
